home *** CD-ROM | disk | FTP | other *** search
/ BMUG PD-ROM BV3 / BMUG PD-ROM Version BV3 (CDRM1097900).iso / HyperCard / Games / The Golden Parrot / card_9997.txt < prev    next >
Text File  |  1990-08-20  |  1KB  |  41 lines

  1. -- card: 9997 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3426
  5. -- name: Tracking the bull elephant
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global score
  9.   add 80 to score
  10.   put score into field "scorebox"
  11. end openCard
  12. on mouseUp
  13.  
  14.   get field "textarea" of card "Mountain Trail"
  15.   put it into holder
  16.   put the number of lines in field "textarea" of card "Mountain Trail" into counter
  17.   repeat until counter = 0
  18.     get line counter of holder
  19.     if it contains "After the pachederm" then
  20.       delete line counter of field "textarea" of card "Mountain Trail"
  21.       put 1 into counter
  22.     end if
  23.     subtract 1 from counter
  24.   end repeat
  25.  
  26.   visual effect dissolve
  27.   go card "River Trail"
  28. end mouseUp
  29.  
  30.  
  31. -- part contents for background part 1
  32. ----- text -----
  33. Tracking the bull elephant
  34.  
  35. -- part contents for background part 2
  36. ----- text -----
  37. You have followed the powerful beast down into the river valley. It is taking a long time for the tranquillizer to take effect. When you finally track down the bull, you find him passed out under a binyon tree by the river. "What a catch for the Pittsburg Zoo!," you exclaim gleefully.
  38.  
  39. -- part contents for background part 5
  40. ----- text -----
  41. 125